package com.easytopit.Client;

public class HTTPServlet implements Servlet {

	@Override
	public void service(Request request, Response response) {
		if ("get".equalsIgnoreCase(request.getMethod())) {
			doGet(request, response);
		} else if ("post".equalsIgnoreCase(request.getMethod())) {
			doPost(response);
		}

	}

	protected void doPost(Response response) {

	}

	protected void doGet(Request request, Response response) {

	}

}
